package com.twu.model;

/**
 * Created with IntelliJ IDEA.
 * User: FSW
 * Date: 24/05/13
 * Time: 下午 05:54
 * To change this template use File | Settings | File Templates.
 */
public class Book {
    private String title;
    private String author;
    private String isbn;
    private String location;

    public Book(String title, String author, String isbn, String location) {
        this.title = title;
        this.author = author;
        this.isbn = isbn;
        this.location = location;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getIsbn() {
        return isbn;
    }

    public String getAuthor() {
        return author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public void print() {
        System.out.print(title+"    ");
        System.out.print(author+"   ");
        System.out.print(isbn+" ");
        System.out.print(location+" ");
        System.out.println();
    }
}
